package com.wcm.web.result;


public enum ResultEnum {
    UNKNOW_ERROR(-1,"未知错误"),
    ENGIN_ERROR(500,"服务器错误"),
    SUCCESSFUL(200,"成功返回"),
    FAIL(400,"请求失败"),

    ;
    int code;
    String msg;
     ResultEnum(int code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }
}
